package com.dadibadi.core.common.utils;

import cn.hutool.crypto.digest.DigestUtil;
import lombok.extern.slf4j.Slf4j;

/**
 * @author Administrator
 */
@Slf4j
public class MD5Util {
    private static final String SALT = "lkfs@163.com";

    public static String sha256Hex(String password) {
        return DigestUtil.sha256Hex(SALT + password);
    }

    /*public static void main(String[] args) {
        log.info(MD5Util.password("123"));
    }*/

}
